<?
        require_once('../Inc/Global.php');
        require_once('AutoCompFunctions.php');
        //$result = get_StateNames();
?>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script type="text/javascript" src="jquery.autocomplete.js"></script>-->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js" type="text/javascript"></script>

<link rel="stylesheet" type="text/css" href="../ECommSite/ECommCss.css" />
<title>AutoComplete Box</title>
</head>
<body>
<div>This is an example of an AJAX autocomplete box.</div>
<br/>
<div>Enter the name of a U.S. State or it's initials</div>
<div id="selection"></div>
        <input type="text" name="states" id="get_states"/>
        <input type="button" value="OK" />

<script type="text/javascript">
$("#get_states").autocomplete({
	source: "/AutoCompFunctions.php",
	minLength: 1
});


</script>